package system

import (
	"gitee.com/igolang/imoney/internal/app/system/services/monitor"
	"gitee.com/igolang/imoney/internal/common/tools/cronJob"
	"log"
)

func (m *modules) registerCronCmd() (err error) {
	err = cronJob.Register("testJob", func() error {
		log.Println("testJob", 11111111)
		return nil
	})
	monitor.Job.Init()
	return
}
